package com.chixing.day05.day05_Test;

public class Test {
/*    static {
        System.out.println("test static 1");
    }
    public static void main(String[] args){

    }
    static {
        System.out.println("test static 2");
    }*/
   /* static {
        int x = 5;
}
static int x,y;
    public static void main(String[] args){
        x--;
        myMethod();
        System.out.println(x + y +  ++x);
    }
    public static void  myMethod(){
        y = x++ + ++x;
    }*/
/*    private int a = 10;
    int b = 20;
    static int c = 1;

    public static void main(String[] args){
        FandSTest Base = new FandSTest( );

    }*/
/*    public static FandSTest t1 = new FandSTest();
    public FandSTest(){
        System.out.println("blockA");
    }
    static {
        System.out.println("blockB");
    }
    public static void main(String[] args){
        FandSTest t2 = new FandSTest();
    }*/

    private int a = 10;
    int b = 20;
    static int c = 1;

    public static void main(String[] args) {
        Test t = new Test();
        // Base.a =10;
        // FandSTest.b =20;
        Test.c = 1;
    }
}
